package com.earnings.okhttputils.utils.car.http;

import com.earnings.okhttputils.utils.User;
import com.earnings.okhttputils.utils.utils.CommonUtil;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/6/15 0015.
 */

public class CarHttp extends HashMap<String, String> {
//    private User user;


    public CarHttp(String a) {
   //     user = CommonUtil.getUser();
        put("m", "api");
        put("c", "index");
        put("a", a);
        put("client", "android");
  //      if (user.getToken() != null) put("token", user.getToken());
    }

    public CarHttp(String a, Map map) {
    //    user = CommonUtil.getUser();
        put("m", "api");
        put("c", "index");
        put("a", a);
        put("client", "android");
     //   if (user.getToken() != null) put("token", user.getToken());
        putAll(map);

    }

}
